namespace DotNetNuke.Security.Permissions
{
    using System;
    using System.Collections;

    public class CompareFolderPermissions : IComparer
    {
        public int Compare(object x, object y)
        {
            return ((FolderPermissionInfo) x).FolderPermissionID.CompareTo(((FolderPermissionInfo) y).FolderPermissionID);
        }
    }
}

